﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TypedROBIN.Imaging
{
    [Serializable]
    public class Arguments
    {
        public string Url = null;
        public string OutputPath = null;
        public string CallerIdentity = null;
        public int ScreenWidth = 1024;
        public int MaxWait = 90000;
        public int Delay = 1000;
        public bool GetThumbnail = false;
        public string ThumbnailOutputPath = null;
        public int ThumbnailWidth = 120;
        public int ThumbnailHeight = 90;
        public bool GetBodyText = false;
        public string BodyTextOutputPath = null;

        public Arguments(
            string url,
            string outputPath,
            string callerIdentity = null,
            int screenWidth = 1024,
            int maxWait = 90000,
            int delay = 1000,
            bool getThumbnail = false,
            string thumbnailOutputPath = null,
            int thumbnailWidth = 120,
            int thumbnailHeight = 90,
            bool getBodyText = false,
            string bodyTextOutputPath = null)
        {
            this.Url = url;
            this.OutputPath = outputPath;
            this.CallerIdentity = callerIdentity;
            this.ScreenWidth = screenWidth;
            this.MaxWait = maxWait;
            this.Delay = delay;
            this.GetThumbnail = getThumbnail;
            this.ThumbnailOutputPath = thumbnailOutputPath;
            this.ThumbnailWidth = thumbnailWidth;
            this.ThumbnailHeight = thumbnailHeight;
            this.GetBodyText = getBodyText;
            this.BodyTextOutputPath = bodyTextOutputPath;
        }

    }
}
